/*
    MediaCenterJS - A NodeJS based mediacenter solution

    Copyright (C) 2013 - Jan Smolders

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

body.playing > div{display:none;}
body.playing > #player{display:block;}

/* Default override */
body,html{ overflow-y:auto; overflow-x:hidden;}
#header{height:60px; z-index:3; position:fixed; top:0; }
#header h1{z-index:4; margin-top:0px;}
header #search {
    height: 65px!important;
}
a.backlink { margin-top: 0px; z-index:4; margin-left:0;}

h2.loading{top:80px;}

#container{padding:50px;}

.loading.icon{
    -webkit-animation: icon-loading 0.5s linear infinite;
    -ms-animation: icon-loading 0.5s linear infinite;
    animation: icon-loading 0.5s linear infinite;
    font-size:48px;
    color:#fb8521;
}

#tvshows{
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: block;
    position: relative;
    min-height:500px;
    overflow:hidden;
}

#tvshows.side,
.side{
    margin-left: 357px;
}

#show-playlist {
    background: #fb8521;
    margin: 0;
    height: 100%;
    margin-right: 10px;
}
#show-playlist i {
    height: 100%;
    line-height: 50px;
    margin: 0 5px;
    opacity: 1;
}

.tvshow img{
    margin:0;
    display:block;
    width:100%;
    padding:0;
    border:0;
    opacity:1;
}

.tvshow span{
    display:block;
    float:left;
    font-size: 14px;
    color:#fff;
    margin-top:10px;
    text-transform:capitalize;
}

.tvshow{
    float:left;
    list-style:none;
    z-index:99;
    position:relative;
    padding: 0px;
    margin: 10px 5px;
    border: 0;
    display:block;
    background:#fff;
    cursor:pointer;
}

.tvshow .edit.icon{display:none;}
.tvshow:hover .edit.icon{
    display:block;
    position:absolute;
    top:5px;
    right:5px;
    z-index:9;
}
.modal-body img{max-width:300px; max-height:400px;}

.tvshow:hover img,
.tvshow.current img{
    opacity:0.5;
}

.tvshow a{ float:left; }
.tvshow .imageWrapper { height:140px; width:758px; overflow:hidden;}
.tvshow .overview{
    padding:10px;
    font-size:11px;
    line-height:17px;
    margin:0;
    max-height:207px;
    position:relative;
    overflow:hidden;
}

.overview h1{
    margin: 0px 0 10px 0;
    font-size: 18px;
    max-width: 230px;
    text-transform: none;
    font-family: 'Open Sans', sans-serif;
}
.specs p{font-size:12px; float:left; margin:10px 0 0 9px;}

.episodes{
    width:100%;
    clear:both;
    padding:0;
    margin:0;
    margin-bottom:20px;
}

.episodes li{
    padding:10px;
    margin:0;
    position: relative;
    overflow: hidden;
    color:#fff;
    cursor:pointer;
    padding-left:30px;
}

.episodes li:hover,
.episodes li.focus,
.episodes li.current{
    background:#f1f1f1;
}

/** Playlist **/

#playlist {
    float: left;
    width: 358px;
    background: #3d4045;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100vh;
    position: absolute;
    top:0px;
    left:0px;
    z-index:9;
}


#playlist h2 {
    height: 70px;
    padding: 10px;
    background: #fb8521;
	max-width:360px;
    margin: 0;
    color: #fff;
}

#playlist h2 i,
header h1 i{
	cursor: pointer;
}

#playlist .header{
    clear: both;
    width: 335px;
    position: relative;
    overflow: hidden;
    padding-left: 30px;
    cursor: pointer;
    margin:20px 0;
}

#playlist .tvshow{ margin-top:10px; padding:10px; }
#playlist .tvshow-title{font-size:20px; color:#fff;}
#playlist .tvshow li{
    padding:5px 0;
    border:0;
    min-height: 25px;
    line-height: 25px;
    cursor:pointer;
}

#library li.track:nth-child(odd),
#playlist ol li:nth-child(odd){
    background: #33363a;
}

#playlist .tvshow li:hover{ background:#fff; }

/*

.certification{
    border:2px solid #000;
    background-color:#fff;
    font-family:Palatino;
    font-weight:bold;
    font-size:24px;
    color:#000;
    display:inline-block;
    float:right;
    margin-top:10px;
    text-align:center;
    padding:3px 5px;
}
*/



/*** PHONE LAYOUT ***/

@media only screen and (min-width: 320px) and (max-width: 529px) {
    #container{padding:10px 0px;}
}
